x86/HVM: improve EFER validation error messages
authorAndrew Cooper <andrew.cooper3@citrix.com>
Mon, 26 Jan 2015 11:48:38 +0000 (12:48 +0100)
committerJan Beulich <jbeulich@suse.com>
Mon, 26 Jan 2015 11:48:38 +0000 (12:48 +0100)
commit4b898944d31badc8d35b60c26b6c0ab55dc95074
treeeab1e2b755a682ec32cf6f896956abef76d2e236
parentcc3404093c8599743d53fb428d27074abe55a20e
x86/HVM: improve EFER validation error messages

The previous error message was very little use in identifying the actual
problem after the fact.  Now, hvm_efer_valid() will indicate the issue which
it objects to, which is far more useful for diagnosing issues from logs.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
xen/arch/x86/hvm/hvm.c